package com.poetize.plus.entity.vo.page;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import java.time.LocalDateTime;

/**
 * @author zuosy
 * @created 2024/4/3 14:14
 */
public record CommentPageVO(
        @Schema(description = "id")
        Long id,
        @Schema(description = "文章标题")
        String articleTitle,
        @Schema(description = "发表用户")
        String createBy,
        @Schema(description = "点赞数")
        Long likeCount,
        @Schema(description = "踩数")
        Long dislikeCount,
        @Schema(description = "评论内容")
        String commentContent,
        @Schema(description = "评论时间")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        LocalDateTime createTime
) {
}
